InstreamAdListener

This interface is used to notify about events occuring during instream ad playback.

Functions

Link copied to clipboard
abstract fun onError(reason: String)

Notifies about error occured during instream ad playback.

Link copied to clipboard
abstract fun onInstreamAdCompleted()

Notifies about completion of instream ad playback.

Link copied to clipboard
abstract fun onInstreamAdPrepared()

Notifies that preroll (if it exists in ad) is prepared. If no preroll exists, callback will be fired immediately after prepare() call.